package day03.dproxy;

public class TestMain2 {
    public static void main(String[] args) {

        ITarget target = new Target();
        DynamicProxy dynamicProxy = new DynamicProxy();
        dynamicProxy.setTarget(target);

        // $Proxy0
        ITarget proxy = dynamicProxy.netInstance();

        proxy.show();
        proxy.show1();


    }
}
